// 顶替效率

// 导入封装好的网络请求类工具
import request from '../../../../../utils/request';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);

//顶替效率-编辑保存数据
export const DisplacementRateUpdate = (form) => {
    return request({
        url: '/displacementRate/displacementRateUpdate',
        method: 'put',
        data: form
    })
}

//顶替效率-删除数据
export const DisplacementRateDelete = (id) => {
    return request({
        url: `/displacementRate/displacementRateDelete/${id}`,
        method: 'delete'
    })
}

//顶替效率-查询数据
export const FindDisplacementRateByCondition = (searchModel) => {
    return request({
        url: '/displacementRate/findDisplacementRateByCondition',
        method: 'post',
        data: searchModel
    })
}

//顶替效率-新增数据
export const DisplacementRateAdd = (form) => {
    return request({
        url: '/displacementRate/displacementRateAdd',
        method: 'post',
        data: form
    })
}